package com.example.rabbitmqconsumer.domain;

import java.io.Serializable;

/**
 * @ClassName User
 * @Desecription TODO 1.2新增
 * @Author gjy
 * @Date 2021/4/20 14:41
 * @Version 1.2
 **/
public class User implements Serializable {
    private  String name;
    private  int id;
    private String address;
    private  double money;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", address='" + address + '\'' +
                ", money=" + money +
                '}';
    }
}
